package cn.miao.hrm.dto;

import cn.miao.hrm.domain.Employee;
import cn.miao.hrm.domain.Login;
import cn.miao.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @program: springcloud-hrm
 * @description: 机构入驻
 * @author: MiaoWei
 * @create: 2021-11-22 20:44
 **/
@Data
public class TenantRegisteredDto {
    /**
     * 租户
     */
    @Valid
    private Tenant tenant;
    /**
     * 员工
     */
    @Valid
    private Employee employee;
    /**
     * 登录
     */
    @Valid
    private Login login;
    /**
     * 套餐id
     */
    @NotNull(message = "请选择套餐!")
    private Integer mealId;
}
